﻿<br />
<div class="code">
&#64;model&nbsp;VisibilityModel<br />
<br />&lt;div&nbsp;&#64;Html.KoAttrVisible(m&nbsp;=&gt;&nbsp;m.ShouldShowMessage)&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;You&nbsp;will&nbsp;see&nbsp;this&nbsp;message&nbsp;only&nbsp;when&nbsp;<span class="String">"shouldShowMessage"</span>&nbsp;holds&nbsp;a&nbsp;true&nbsp;value.<br />
&lt;/div&gt;
<br />
<br />
&#64;Model.ApplyBindingsScript(KoBindingOptions.IncludeData)
</div>